package org.datascooter.meta;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BackupData implements Serializable {

	private static final long serialVersionUID = 7277069925120746381L;
	public final Date date;
	public final List<MetaTable> sorted = new ArrayList<MetaTable>();

	public BackupData(List<MetaTable> sortedIn, Date created) {
		date = created;
		for (MetaTable table : sortedIn) {
			sorted.add(new MetaTable(table.getSheme(), table.getName(), null));
		}
	}
}
